home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / comp / testbino.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  427 b   |  31 lines

  1. /*
  2.                                 T E S T B I N O . C
  3. */
  4.  
  5. #include "iccomp.h"
  6.  
  7. int test_binop(opcode, lval, rval)
  8.     OPCODE_
  9.         opcode;
  10.     ESTRUC_
  11.         *lval,
  12.         *rval;
  13. {
  14.     register int
  15.         ret;
  16.  
  17.     if
  18.     (
  19.         (ret =
  20.          (
  21.             test_operand(lval, opcode)
  22.             ||
  23.             test_operand(rval, opcode)
  24.          )
  25.         )
  26.     )
  27.         clearbin(rval, lval);
  28.  
  29.     return(ret);
  30. }
  31.